class Medir{
	public static void main(String [] args){
		int c = 0;
		long startTime = System.nanoTime() ;
		
		for(int i=0; i < 100000000; i++){
			for(int k=0; k < 100; k++){
				Object obj = new Object();
				c += i + k;
			}
			
		}
		long finishTime = System.nanoTime() - startTime;
		System.out.println("valor = " + c);
		System.out.println("execution time = " + finishTime/1.0e9 + " seg");
		
	}
	
}